package com.vcit.system.domain.clazz;

import com.vcit.common.annotation.Excel;
import com.vcit.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 分班规则-专业关联对象 t_clazz_rule_major
 *
 * @author dff
 * @date 2025-01-17
 */
public class TClazzRuleMajor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 分班规则id */
   // @Excel(name = "分班规则id")
    private Long ruleId;

    /** 专业id */
   // @Excel(name = "专业id")
    private Long majorId;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String majorName;

    /** 该专业分配的学生数量 */
    @Excel(name = "该专业分配的学生数量")
    private Integer studentCount;

    /** 实际分配人数 */
    @Excel(name = "该专业实际分配人数")
    private Integer actualCount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    public Long getMajorId() {
        return majorId;
    }

    public void setMajorId(Long majorId) {
        this.majorId = majorId;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public Integer getStudentCount() {
        return studentCount;
    }

    public void setStudentCount(Integer studentCount) {
        this.studentCount = studentCount;
    }

    public Integer getActualCount() {
        return actualCount;
    }

    public void setActualCount(Integer actualCount) {
        this.actualCount = actualCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ruleId", getRuleId())
                .append("majorId", getMajorId())
                .append("majorName", getMajorName())
                .append("studentCount", getStudentCount())
                .append("actualCount", getActualCount())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
} 